Skip to content

Cover test-build ordering, build-results, and test/install ON_ERROR_STOP - #79

Merged
jnasbyupgrade merged 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:fix-test-build-ordering
Sep 8, 2026
Merged

Cover test-build ordering, build-results, and test/install ON_ERROR_STOP#79
jnasbyupgrade merged 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:fix-test-build-ordering

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

Related pgxntool PR: Postgres-Extensions/pgxntool#109

Template's test/install file now sets ON_ERROR_STOP and stops committing its self-overwriting .out file, per pgxntool's new check-test-install-error-stop check.

Test coverage added:

  • installcheck:test-build ordering edge, via make -n dry-run (issue #108)
  • make build-results: refreshes clean files, skips and reports files whose actual output contains ERROR:, and still exits non-zero on a partial skip
  • check-test-install-error-stop: script-level decision logic (direct ON_ERROR_STOP, via psql.sql, missing) and Makefile wiring (recipe args, disable via PGXNTOOL_ENABLE_TEST_INSTALL_ERROR_STOP_CHECK, exit-status propagation)

Covers pgxntool issues #108 and #97 (fixed by the paired pgxntool PR above, not by this one).

…TOP [4916368]

Template's test/install file now sets ON_ERROR_STOP and stops committing
its self-overwriting .out file, per pgxntool's new
check-test-install-error-stop check. Add test coverage for the new
installcheck:test-build ordering edge, make build-results, and
check-test-install-error-stop (script-level and Makefile-wiring).

Covers pgxntool issues Postgres-Extensions/pgxntool#108 and
Postgres-Extensions/pgxntool#97 (fixed by the paired pgxntool commit
above, not by this one).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: b4de62ee-2b49-42eb-9e98-441c5ce4511d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

jnasbyupgrade added a commit to jnasbyupgrade/pgxntool-test that referenced this pull request Sep 8, 2026
…dry-run behavior, drop a second uninstall

Document that install's dry-run visibility comes from having no on-disk
file named "install" rather than a .PHONY declaration (checked pgxs.mk
and base.mk -- neither marks it phony), per reviewer request to verify
rather than assume.

Merge the FS_INSTALL=no negative-case check into the existing issue Postgres-Extensions#79
uninstalled-tree test so both share a single uninstall instead of each
test uninstalling separately.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jnasbyupgrade
jnasbyupgrade merged commit 2491a57 into Postgres-Extensions:master Sep 8, 2026
10 checks passed
@jnasbyupgrade
jnasbyupgrade deleted the fix-test-build-ordering branch September 8, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant